//
//  KCountdownButton.h
//  Peanut
//
//  Created by Jim huang on 2018/3/15.
//  Copyright © 2018年 Jim_Peanut. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol KCountdownButtonDelegate <NSObject>
@required
//点击代理方法
-(void)countdownButtonClick;


@end

@protocol KCountdownButtonWithParameterDelegate <NSObject>


-(void)countdownButtonClickWithParameter:(id)parameter;


@end

@interface KCountdownButton : UIButton

//开始倒计时
-(void)startCountdown;


/** 代理 */
@property (nonatomic,weak)id<KCountdownButtonDelegate> delegate;

/** 含参数代理 */
@property (nonatomic,weak)id<KCountdownButtonWithParameterDelegate> delegateWithParamater;



@end
